<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/NoRefsTest.DataModels" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/NoRefsTest.DataModels" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:7777/MyService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" />
  <xs:complexType name="Entity1">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q1:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Entity2" nillable="true" type="tns:ArrayOfEntity2" />
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Entity1" nillable="true" type="tns:Entity1" />
  <xs:complexType name="ArrayOfEntity2">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Entity2" nillable="true" type="tns:Entity2" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfEntity2" nillable="true" type="tns:ArrayOfEntity2" />
  <xs:complexType name="Entity2">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q2:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Entity1" nillable="true" type="tns:Entity1" />
          <xs:element minOccurs="0" name="Entity1Reference" nillable="true" type="q2:EntityReferenceOfEntity17ffTAdD9" />
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Entity2" nillable="true" type="tns:Entity2" />
</xs:schema>